﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
	<meta charset="utf-8" />
    <script src="../../scripts/jquery-2.1.1.min.js"></script>
    <script src="../../scripts/angular.min.js"></script>
    <script src="../app/app.js"></script>
</head>
<body ng-app="blogApp">
    <div ng-controller="blogController">
        <table>
            <tr>
                <td>
                    Id
                </td>
                <td>
                    Name
                </td>
            </tr>
            <tr ng-repeat="blog in blogs">
                <td>
                    {{blog.BlogId}}
                </td>
                <td>
                    {{blog.Name}}
                </td>
                <td>
                    <button ng-click="delete(blog.BlogId)" class="delete-blog">删除</button>
                </td>
            </tr>
        </table>
    </div>
</body>
</html>
